<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: R:/Develop/a0-develop/LibQQt/src/network/qextserialport/qextserialenumerator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_fc4c7f03e1a69a98c370fae55a743828.html">network</a></li><li class="navelem"><a class="el" href="dir_b77e975c6f3a40e65ad79340465fa1bc.html">qextserialport</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">qextserialenumerator.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="qextserialenumerator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef _QEXTSERIALENUMERATOR_H_</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define _QEXTSERIALENUMERATOR_H_</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;QString&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;QList&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifdef _TTY_WIN_</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;windows.h&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;setupapi.h&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*_TTY_WIN_*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="struct_qext_port_info.html">   23</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_qext_port_info.html">QextPortInfo</a></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="struct_qext_port_info.html#ab28ecc59f84babdf486ab5fad74e024a">   25</a></span>&#160;    QString <a class="code" href="struct_qext_port_info.html#ab28ecc59f84babdf486ab5fad74e024a">portName</a>;       </div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="struct_qext_port_info.html#a9bb0593dbd5bc1a0fc081e61268eaf46">   26</a></span>&#160;    QString <a class="code" href="struct_qext_port_info.html#a9bb0593dbd5bc1a0fc081e61268eaf46">physName</a>;       </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="struct_qext_port_info.html#a1bf41f0d6c577f87161f4fdb077fb952">   27</a></span>&#160;    QString <a class="code" href="struct_qext_port_info.html#a1bf41f0d6c577f87161f4fdb077fb952">friendName</a>;     </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="struct_qext_port_info.html#a47a6287c969ce9797b87f9ffdf36763c">   28</a></span>&#160;    QString <a class="code" href="struct_qext_port_info.html#a47a6287c969ce9797b87f9ffdf36763c">enumName</a>;       </div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;};</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_qext_serial_enumerator.html">   38</a></span>&#160;<span class="keyword">class </span>LIBRARYSHARED_EXPORT <a class="code" href="class_qext_serial_enumerator.html">QextSerialEnumerator</a></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;{</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#ifdef _TTY_WIN_</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">static</span> QString getRegKeyValue ( HKEY key, LPCTSTR property );</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keyword">static</span> QString getDeviceProperty ( HDEVINFO devInfo, PSP_DEVINFO_DATA devData, DWORD property );</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> setupAPIScan ( QList&lt;QextPortInfo&gt;&amp; infoList );</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*_TTY_WIN_*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">static</span> QList&lt;QextPortInfo&gt; getPorts();</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;};</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*_QEXTSERIALENUMERATOR_H_*/</span><span class="preprocessor"></span></div><div class="ttc" id="struct_qext_port_info_html"><div class="ttname"><a href="struct_qext_port_info.html">QextPortInfo</a></div><div class="ttdef"><b>Definition:</b> qextserialenumerator.h:23</div></div>
<div class="ttc" id="struct_qext_port_info_html_a1bf41f0d6c577f87161f4fdb077fb952"><div class="ttname"><a href="struct_qext_port_info.html#a1bf41f0d6c577f87161f4fdb077fb952">QextPortInfo::friendName</a></div><div class="ttdeci">QString friendName</div><div class="ttdoc">Friendly name. </div><div class="ttdef"><b>Definition:</b> qextserialenumerator.h:27</div></div>
<div class="ttc" id="struct_qext_port_info_html_ab28ecc59f84babdf486ab5fad74e024a"><div class="ttname"><a href="struct_qext_port_info.html#ab28ecc59f84babdf486ab5fad74e024a">QextPortInfo::portName</a></div><div class="ttdeci">QString portName</div><div class="ttdoc">Port name. </div><div class="ttdef"><b>Definition:</b> qextserialenumerator.h:25</div></div>
<div class="ttc" id="struct_qext_port_info_html_a9bb0593dbd5bc1a0fc081e61268eaf46"><div class="ttname"><a href="struct_qext_port_info.html#a9bb0593dbd5bc1a0fc081e61268eaf46">QextPortInfo::physName</a></div><div class="ttdeci">QString physName</div><div class="ttdoc">Physical name. </div><div class="ttdef"><b>Definition:</b> qextserialenumerator.h:26</div></div>
<div class="ttc" id="struct_qext_port_info_html_a47a6287c969ce9797b87f9ffdf36763c"><div class="ttname"><a href="struct_qext_port_info.html#a47a6287c969ce9797b87f9ffdf36763c">QextPortInfo::enumName</a></div><div class="ttdeci">QString enumName</div><div class="ttdoc">Enumerator name. </div><div class="ttdef"><b>Definition:</b> qextserialenumerator.h:28</div></div>
<div class="ttc" id="class_qext_serial_enumerator_html"><div class="ttname"><a href="class_qext_serial_enumerator.html">QextSerialEnumerator</a></div><div class="ttdef"><b>Definition:</b> qextserialenumerator.h:38</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
